<!--
 * @Description: 
 * @Author: ljl
 * @Date: 2024-11-16 20:30:42
 * @LastEditors: rendc
 * @LastEditTime: 2024-11-18 09:09:57
-->
<template>
  <div class="background">
    <div class="content">
      <!-- 路由跳转 -->
      <div class="myRounter">
        <RouterLink to="/login" >登录 </RouterLink>
        <RouterLink to="/register"> 注册</RouterLink>
      </div>
      <router-view />
    </div>
  </div>
</template>

<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router';
</script>

<style scoped>
.background {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 90vh;
  top: 0;
  left: 0;
  background-image: url('./img/image.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  
}

.content {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 5px;
  border: 8px solid orange;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}
</style>